$(document).ready(function(){
	$("#form").validate({
		rules: {
			userid: "required",
			passwd:"required",
			repasswd:"required",
			operatorname:"required",
			type:"required",
			groupid:"required"
		},
		messages: {
			userid: "用户ID不能为空！",
			passwd:"密码不能为空！",
			repasswd:"请再次输入密码！",
			operatorname:"操作员名称不能为空！",
			type:"用户类型不能为空！",
			groupid:"所属机构不能为空！"
		}
	});
});